﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using D.Medicalcare.Read.API.Dtos;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.DoctorCommand
{
    public class GetDoctorCommand : IRequest<APIPaging<DoctorDto>>
    {
        public string? DoctorName { get; set; }
        /// <summary>
        /// 所属科室（外键）
        /// </summary>
        public int? DeparId { get; set; }

        public int PageIndex { get; set; }

        public int PageSize { get; set; } 
    }
}
